package com.tj.bo.trade.client.enums;

/**
 * @program: binary-option
 * @description
 * @author: binary
 * @create: 2020-06-05 15:55
 **/
public enum ProfitStatusEnum {

    UN_PROFIT(0, "un_profit"),
    PROFIT(1, "profit");

    private Integer code;
    private String name;

    ProfitStatusEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public ProfitStatusEnum setCode(Integer code) {
        this.code = code;
        return this;
    }

    public String getName() {
        return name;
    }

    public ProfitStatusEnum setName(String name) {
        this.name = name;
        return this;
    }
}
